<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        /*
            div+p{} 选择div之后的第一个p元素
            div~p{} 选择div之后的所有p元素
        */
        /* div+p{
            color: red;
        } */
        
        div~p{
            color: red;
        }
    </style>
</head>
<body>
    <!--shift+alt+↓-->
    <div>div</div>
    <p>hello word!</p>
    <p>hello word!</p>
    <p>hello word!</p>
    <p>hello word!</p>
</body>
</html>